<?php
namespace Admin\Model;
use Think\Model\ViewModel;
class OrderDetailModel extends ViewModel{
	public $viewFields = array(
// 			'OrderDetail'=>array('food_name','yprice','price','num','unit','_type'=>'LEFT'),
			'Order'=>array('address','area','cdate','ptime'),
// 			'Order'=>array('address','area','cdate','ptime','_type'=>'LEFT','_on'=>'OrderDetail.oid=Order.id'),
	);
}